#ifndef OPTIONS_H
#define OPTIONS_H

#include <QDialog>
#include <QStandardItemModel>
#include <QSettings>  //读写ini文件
#include <QSerialPortInfo>
#include <QDir>
#include "mainwindow.h"

namespace Ui {
class options;
}

class options : public QDialog
{
    Q_OBJECT

public:
    explicit options(QWidget *parent = 0);
    ~options();
    void add_mp3(QList<QFileInfo> *fileInfo);

private slots:
    void on_btn_save_clicked();
    void on_btn_cancel_clicked();

    void on_pushButton_clicked();

signals:
    void sendData();   //用来传递数据的信号

private:
    Ui::options *ui;
    QStandardItemModel *standItemModel;
    QSettings Ini;
};

#endif // OPTIONS_H
